package com.xctech.yace.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.ibatis.session.SqlSessionFactory;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
public class GlobalClass implements Serializable {

    private static final long serialVersionUID = 1L;

//    /**
//     * TM id
//     */
//    public static String tm_id;
//    /**
//     * 全局计数器
//     */
//    public static volatile HashMap<Long, AtomicInteger> atomicIntegerMap = new HashMap<>();

    public static volatile SqlSessionFactory factSqlSessionFactory = null;

    public static volatile SqlSessionFactory dimSqlSessionFactory = null;

    public static volatile List<String> initModelCalcutables;
}
